// Author: Daniil Smelov <dn.smelov@gmail.com>
// Copyright Daniil Smelov 2006-2009


#ifndef __MAP_TYPES_INCLUDED
#define __MAP_TYPES_INCLUDED

typedef void map_stream;


/*--------------------------------------------------------------------------*/
typedef struct 
{
	long		x, y;

	double		lat;
	double		lon;
	
	double		n;
	double		e;
} LLXY;

/*--------------------------------------------------------------------------*/
typedef struct 
{
	double	a;
	double	f;
	double	central_meridian;
	double	origin_latitude;
	double	false_easting;
	double	false_northing;
	double	latitude_1;
	double	longitude_1;
	double	latitude_2;
	double	longitude_2;
	double	std_parallel_1;
	double	std_parallel_2;
	double	scale_factor;
	double	latitude_of_true_scale;
	double	longitude_down_from_pole;
	char*	ellipsoid_code;
} projection_params_table;

#endif